package com.envper.mysql.domain.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 告警表 实体类。
 *
 * @author admin
 * @since 2025-05-07
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("t_alarm")
public class TAlarm implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 告警ID
     */
    @Id
    private Long id;

    /**
     * 设备ID
     */
    private Long deviceId;

    /**
     * 告警内容
     */
    private String content;

    /**
     * 创建时间
     */
    private LocalDateTime created;

}
